package com.qf.dao;

import com.qf.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserDao {
    public List<User> queryAll();

    User findByUsername(@Param("name") String from);

    void update(User user);
}
